home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / dev / gcc / gcc263_install.readme < prev    next >
Text File  |  1995-07-02  |  5KB  |  128 lines

  1. Short:    Gcc installer script
  2. Author:   jochen.wiedmann@zdv.uni-tuebingen.de
  3. Uploader: jochen.wiedmann@zdv.uni-tuebingen.de
  4. Type:     dev/gcc
  5.  
  6.  
  7. About GCC-Install
  8. =================   
  9.  
  10. This archive contains an installer script for the GNU C compiler. It
  11. may be used independent from the version you want to install or
  12. deinstall.
  13.  
  14. This file should replace the existing installer script, which is known
  15. to be buggy (sorry) and lacks some features which seem to me to be
  16. rather important, considering all those questions which would never
  17. be asked, if people would use this script. GCC-Install's new features
  18. are
  19.  
  20.     - does not depend on external files, textfiles that should
  21.       be created are contained in the script.
  22.     - can make gcc to use the Commodore OS headers without copying
  23.       them to GNU:os-include
  24.     - can be used for deinstallation or reconfiguration only
  25.  
  26. I beg anyone downloading gcc, to download this file too. Try it.
  27. Currently one cannot expect it to be more than a beta version, but
  28. replacing it will be lots easier than replacing the complete gcc
  29. archive. Let me know, if you find any problems or don't like
  30. something. My emal address is
  31.  
  32.     jochen.wiedmann@zdv.uni-tuebingen.de
  33.  
  34.  
  35.  
  36. GCC-Install behaves different, depending on whether an assign GNU:
  37. exists. If it does, the script opens a window on startup, which
  38. allows to switch between the choices
  39.  
  40.     1) Deinstall existing GNU C version
  41.     2) Install and configure new version
  42.     3) Configure existing version
  43.     4) All of the above
  44.     5) Exit
  45.  
  46. If no assign GNU: exists, this window is suppressed and choice 2) is
  47. assumed silently.
  48.  
  49.  
  50. 1) Deinstalling existing GNU C version
  51. --------------------------------------
  52.  
  53. The user may select a directory with the version to deinstall (default
  54. GNU:). Deinstallation is done in one of two possible ways:
  55.  
  56.     a) Complete deinstallation
  57.     b) Partial deinstallation
  58.  
  59. Complete deinstallation means to remove the complete directory (except
  60. for directories which are in use, for example GNU:bin aka bin:), partial
  61. deinstallation will remove only lib/gcc-lib.
  62.  
  63.  
  64. 2) Installing a new GNU C version
  65. ---------------------------------
  66.  
  67. The user may select a directory which will be the parent drawer of
  68. GNU:. A subdrawer "gnu" will be created, from now on being referred
  69. as GNU:. (Sorry for those of you which have more than one version of
  70. GNU C installed, but the name "gnu" is fixed in the LhA archives.)
  71.  
  72. Installation begins with unpacking the archives. The user may select
  73. the archives he wants to be unpacked to GNU:. If the machine is
  74. equipped with a 68020 or better, the user will be asked, if he wants
  75. to use the 020 binaries.
  76.  
  77. Some files are missing in the archives: Those which may be installed
  78. as links to other files. The user is asked if he wants to use links
  79. (hard links now, usually bin: will reside on only one partition and
  80. soft links *do* make problems.) or copy the files.
  81.  
  82. If the 020 binaries have been installed, the installation ends with
  83. asking the user, if he wants to rename gcc-020 to gcc, g++-020 to
  84. g++ and so on. Finally the installer script continues with step 3
  85. to configure the new GNU C installation.
  86.  
  87.  
  88. 3) Configuring a GNU C version
  89. ------------------------------
  90.  
  91. Configuration starts with asking the user for environment variables
  92. he wants to copy from GNU:envarc to envarc:.
  93.  
  94. The user is asked, if he has the Commodore OS headers. If this is the
  95. case, he may select the directory where they are installed. The script
  96. offers two different methods of installing the headers:
  97.  
  98.     - Modifying the specs file, so that gcc uses -I<osHeaderDir>
  99.     - Setup environment variables like C_INCLUDE_PATH
  100.  
  101. If the user likes, he may create a GNUINCLUDE: assign from within
  102. GNU:s/User-Startup, which leads to the directory with the OS headers
  103. and replaces <osHeaderDir> in the example above.
  104.  
  105. Finally s:User-Startup is modified, so that it creates an assign
  106. GNU: and executes GNU:s/User-Startup. This file will be created (it
  107. is contained in the installer script, an external file is no longer
  108. being used.)
  109.  
  110. Existing specs and GNU:s/User-Startup files are considered obsolete.
  111. A directory GNU:obsolete is created, where the old versions will
  112. be copied to.
  113.  
  114.  
  115.     Jochen Wiedmann
  116.  
  117.  
  118. ============================= Archive contents =============================
  119.  
  120. Original  Packed Ratio    Date     Time    Name
  121. -------- ------- ----- --------- --------  -------------
  122.        0       0  0.0% 14-Jun-95 23:39:38 +
  123.    39686   10711 73.0% 14-Jun-95 23:37:28 +GCC-Install
  124.     1214     514 57.6% 11-Apr-95 17:02:58 +GCC-Install.info
  125.     4206    1766 58.0% 14-Jun-95 23:39:28 +README
  126. -------- ------- ----- --------- --------
  127.    45106   12991 71.1% 15-Jun-95 02:08:22   4 files
  128.